modify d3 heatmap to work with json data instead of tsv