New data format from the backend for the graph data: transforming it to work with d3 again