def METHOD_NAME(self, data):
    result = super().METHOD_NAME(data)
    # rewrite content type id and object id (grabbed from url) to validated
    # data
    for key in ['content_type_id', 'object_id']:
        if key in data:
            result[key] = data[key]
    return result