minor enhancements to Avro codec