Initial draft for Avro codec