what's wrong with a simple `for (var key in dict)` ? keep it simple if you can :)