public static Object valueOf(final Object either) {
        if (either instanceof GValue)
            return ((GValue<?>) either).get();
        else
            return either;
    }
Takes an argument that is either a {@code GValue} or an object and if the former, returns the child object and
if the latter returns the object itself.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/GValue.java