Using Avro for data transfer