ObjectHydrator should be configurable