here the converter will look up the hashmap for every call.
You could add "final int finalAvroIndex = avroFieldIndexes.get(avroField.name());" outside of the converter to have the lookup happen only an initialization.