Fixed issue with ids of nodes and edges being listed as strings
Fixed handling json