Add handling for undefined and null values in FieldEncoder