``dict(zip(('identifier', 'type'), (a.identifier, a.type))`` works, but I think ``{'identifier': a.identifier, 'type': a.type}`` would be easier for code maintainers to immediately see what's going on.  Unless I'm missing something that makes that not work?