Coerce empty strings to nulls