Fix dict representation so it works on python 2.6.
Merge remote-tracking branch 'drebs/bug/fix-dict-representation-for-python-2.6' into develop