Update avro converter to use GenericData methods.