Updated graph serialization.  Need to finish tests.