Added support for Python2.7 OrderedDict subclass