@Override
    public void serializeWithType(final Object value, final JsonGenerator gen, final SerializerProvider provider,
                                  final TypeSerializer typeSer) throws IOException {
        this.serialize(value, gen, provider);
    }
A different implementation of the {@link ToStringSerializer} that does not serialize types by calling
`typeSerializer.writeTypePrefixForScalar()` for unknown objects, because it doesn't make sense when there is a
custom types mechanism in place.

@author Kevin Gallardo (https://kgdo.me)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/ToStringGraphSONSerializer.java