import pickle
import base64


def dic_b64_and_pickle_loads(data):
    """
    Base64 decodes and unpickles all data in a dictionary
    :param data: dictionary to pickle loads
    :return: native data
    """
    for i in data:
        data[i] = pickle.loads(base64.b64decode(data[i]))
    return data