Solved json issue, heatmap working. Needed json.dumps to force double quotes :(