how about something like:

 `d = defaultdict(list)`
 `for k, v in FROM.iteritems():`
 `     d[k].append(v)`