private static Map<String, Object> serializeCustom(Class<?> clazz, Map<String, Object> customData) {
        Map<String, Object> data = new HashMap<String, Object>();
        data.put("T", "L");
        data.put("class", clazz.getName());
        data.put("data", customData);
        return data;
    }