providing parserForMappings to JSON, adjusted test