python2.6 compatability: try importing from ordereddict if collections has none OrderedDict