move graph-serializers to graph.rb