first draft of avro input format