null string switch to empty in avro conversion