@Override
        public BulkSet deserialize(final JsonParser jsonParser, final DeserializationContext deserializationContext) throws IOException, JsonProcessingException {

            final BulkSet<Object> bulkSet = new BulkSet<>();

            while (jsonParser.nextToken() != JsonToken.END_ARRAY) {
                final Object key = deserializationContext.readValue(jsonParser, Object.class);
                jsonParser.nextToken();
                final Long val = deserializationContext.readValue(jsonParser, Long.class);
                bulkSet.add(key, val);
            }

            return bulkSet;
        }
Deserializers that make reflection calls can use this class as a base and thus cache reflected methods to avoid
future lookups.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/TraversalSerializersV3.java