Fixed so outputs a json object that holds the coordinates and rgb values of every pixel in the map'
Modified to produce easier to parse output