@Override
    GraphSONMapper.Builder configureBuilder(final GraphSONMapper.Builder builder) {
        return builder.version(GraphSONVersion.V4_0).addCustomModule(new GremlinServerModuleV4());
    }
Create a GraphSONMessageSerializer with a provided {@link GraphSONMapper.Builder}.

Note that to make this mapper usable in the context of request messages and responses,
this method will automatically register a {@link GremlinServerModuleV4} to the provided
mapper.
gremlin-util/src/main/java/org/apache/tinkerpop/gremlin/util/ser/GraphSONMessageSerializerV4.java