fix: python26 compatibility

python26 doesn't like dictionary comprehensions