def remove_empty_keys(data):
    """ removes None value keys from the list dict """
    res = {}
    for key, value in data.items():
        if value is not None:
            res[key] = value
    return res
