turn the dict keys into a list comprehension to make python 3 tests pass