def _remove_nulls(output):
    """Remove nulls from dict. Temporary until we fix this in cosmos

    :param output: dict with possible null values
    :type output: dict
    :returns: dict without null
    :rtype: dict
    """

    return {k: v for k, v in output.items() if v}