Fixed up data generation of topics to be compliant with Cytoscape.