Python: Dicts to Lists / Lists to Dicts