Changed config to use a map internally to return primitve data for config values