GraphWrapper improvements

1) Fix GraphWrapper.toJSON()
2) Implement save/load of GraphML and GraphSON file formats.