public JsonElement serialize(
                BlockNode src, 
                Type type, 
                JsonSerializationContext context) {
            
            JsonObject result = new JsonObject();
            result.add("children", context.serialize(
                    src.children, 
                    new TypeToken<List<Object>>(){}.getType())
                );
            result.add("nodeType", new JsonPrimitive(src.nodeType));
            
            return result;
        }