Change the creation of dictionaries to do compatible these with
python 2.6