Add performance enhancement for Avro GenericDatumReader for our use case