def dataset_to_dict(dataset):
    """
    Transform a key/value dataset to a pythonic dictionary

    Parameters
    ----------
    dataset : str
        dataset name

    Returns
    -------
    dictionary
    """
    return dict([(k.strip().decode(),v) for (k,v) in dataset])