Fixed the config to object Mapper