changed the map from string, string to string, object[]