Leverage python 2.7 pants-min and use a dict comprehension.