fix #5891: save null instead of empty string for text fields