python2.6 does not have dict comprehension

small fix for mist.io to support python 2.6 that is default for many systems (eg Centos 6.x)