def dict_of_lists(self):
        r = {}
        for key, val in self.iteritems():
            r.setdefault(key, []).append(val)
        return r
Returns a dictionary where each key is associated with a list of values.
dataset/ETHPy150Open benoitc/restkit/restkit/datastructures.py/MultiDict.dict_of_lists