Just for your reference; sometimes when you have a dict structure like this that you are reusing often in a small piece of code its nice to use a [named tuple](http://docs.python.org/2/library/collections.html#collections.namedtuple).