@Override
    public void writeObject(final OutputStream outputStream, final Object object) throws IOException {
        this.mapper.writeValue(outputStream, object);
    }
Writes an arbitrary object to the stream.  Note that Gremlin Server uses this method when serializing output,
thus the format of the GraphSON for a {@link Vertex} will be somewhat different from the format supplied
when using {@link #writeVertex(OutputStream, Vertex, Direction)}. For example, edges will never be included.

@param outputStream the stream to write to
@param object the object to write which will use the standard serializer set
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONWriter.java