CFY-1365 handle orderedict for py26
CFY-1365 handle orderedict for py26