@staticmethod
def sanitize_data(data, keyset):
    """Sanitize data with keyset"""
    new_data = {}
    for key, value in data.items():
        if key in keyset:
            new_data[key] = value
    return new_data
