Change OrderedDict from Python >= 2.7 to Pypi's OrderedDict