@Test
    public void shouldHandleVertexPropertyNoMeta() throws Exception {
        final DetachedVertex v = new DetachedVertex(321L, "person", Collections.emptyMap());
        final VertexProperty p = new DetachedVertexProperty(123L, "name", "alice", Collections.emptyMap(), v);
        final String json = mapper.writeValueAsString(p);
        if (version.startsWith("v4")) {
            assertEquals("{\"id\":123,\"value\":\"alice\",\"label\":[\"name\"]}", json);
        } else {
            assertEquals("{\"id\":123,\"value\":\"alice\",\"label\":\"name\"}", json);
        }
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONMapperTest.java