toJSON () {
        var obj = PropertyBase.toJSON(this);

        // remove value from file param if it's empty or non-string (can be non-serializable ReadStream)
        if (obj.file && obj.file.content && typeof obj.file.content !== 'string') {
            _.unset(obj, 'file.content');
        }

        return obj;
    }
Convert the request body to JSON compatible plain object

@returns {Object}