@Override
        public <O extends OutputShim> void write(final KryoShim<?, O> kryo, final O output, final Map map) {
            final Map m = new LinkedHashMap();
            map.forEach(m::put);
            kryo.writeObject(output, m);
        }
Serializer for {@code List} instances produced by {@code Arrays.asList()}.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/gryo/UtilSerializers.java