Added graph serializer