Use OrderedDict on python>=2.7