CFY-1365 handle orderedict for py26