public static JsonObject serialize(Vector2l vector2l) {
        return JsonBuilder.object()
                .add("x", vector2l.getX())
                .add("y", vector2l.getY())
                .build();
    }
Utility for serializing and deserializing flowpowered Vector instances
helper/src/main/java/me/lucko/helper/serialize/VectorSerializers.java