Background: I am using generics to bind configuration classes to their respective classes. I am using a small factory, that creates config-objects from json files, and then uses