Using nx.write_gexf in Python for graphs that have dict data on nodes and edges,"G.add_edge(0, 1, likes=['milk', 'oj'])"