Fix the conversion from Neo4j graph to D3