anchor.diff:  ----
   graph = TinkerFactory.createModern()
   g = graph.traversal()
  -f = new FileOutputStream("vertex-graphson20.json")
  +f = new ByteArrayOutputStream()
   mapper = graph.io(graphson()).mapper().version(GraphSONVersion.V2_0).create()
  -v = g.V(1).next()
  -v.property("uuid", UUID.randomUUID())
  -graph.io(graphson()).writer().mapper(mapper).create().writeObject(f, v)
  +graph.io(graphson()).writer().mapper(mapper).create().writeVertex(f, g.V(1).next(), BOTH)
   f.close()
   ----
   
  -Creating a GraphSON 2.0 mapper is done by calling `.version(GraphSONVersion.V2_0)` on the mapper builder.
  -Here's a sample output:
  -
  -[source,json]
  +////
  +Creating a GraphSON 2.0 mapper is done by calling `.version(GraphSONVersion.V2_0)` on the mapper builder. Here's is the
  +example output from the code above:
  +
  +[source, json]
   ----
   {
   	"@type": "g:Vertex",
  
positive.code: GraphSON 2.0 will provide type information for any value that is not `String`, `Boolean`, `Map` or `Collection`.
  TinkerPop includes types for graph elements:
  
  * Vertex -> "g:Vertex"
  * Edge -> "g:Edge"
  * VertexPropery -> "g:VertexProperty"
  * Property -> "g:Property"
  * Path -> "g:Path"
  * Tree -> "g:Tree"
  * Graph -> "g:Graph"
  * Metrics -> "g:Metrics"
  * TraversalMetrics -> `g:TraversalMetrics"
  
  GraphSON 2.0 can also be configured with "extended" types that build on top of the core types in the "g" namespace.
  The extended types are in the "gx" namespace as exposed by `GraphSONXModuleV2d0` and includes additional types like
  
negative.code: Types with GraphSON 1.0
  +++++++++++++++++++++++
  
  GraphSON 1.0 is the version enabled by default when creating a GraphSON Mapper. Here is how to enable types with
  GraphSON 1.0:
  
  [gremlin-groovy]
  ----
  graph = TinkerFactory.createModern()
  g = graph.traversal()
  f = new ByteArrayOutputStream()
  mapper = graph.io(graphson()).mapper().embedTypes(true).create()
  graph.io(graphson()).writer().mapper(mapper).create().writeVertex(f, g.V(1).next(), BOTH)
  f.close()
  