Simple fix for python versions below 2.7

{k : self._ExpandVariables(data[k], substitutions) for k in data}
will break on python2.6 and below, why not a version-independent comprehension that will run on all versions