Create map.json

The JavaScript function as a JSON file. Get rid of the newline characters and be sure to use correct quoting