def clean_dictionary_nulls(d: dict) -> dict:
    """Removes all null values from the dictionary"""
    if d is None:
        return {}
    for k in list(d.keys()):
        if d[k] is None:
            del d[k]

    return d