Fixed bug where the map wasn't appearing. Added logging and fixed issue with JSON parsing of data.