support Python < 2.7 by removing the dict-creation syntax { a:b ... }