Can you change the dict comprehension back to this form? We updated it to this for python 2.6 compatibility