Use salt.utils.odict instead of python2.7 OrderedDict