Added some preliminary graph serialization tools