toJSON(obj) {
        var json = Object3DSerializer.prototype.toJSON.call(this, obj);
        json.userData = Object.assign({}, obj.userData);
        delete json.userData.model;
        delete json.userData.helper;

        return json;
    }
ServerObject
@author tengge / https://github.com/tengge1