output generic schema to avro