import pickle


def decode_dict(dictionary):
    """Decodes binary dictionary to native dictionary

    Args:
        dictionary (binary): storage to decode

    Returns:
        dict: decoded dictionary
    """
    decoded_dict = pickle.loads(dictionary)
    return decoded_dict