using ordereddict but compile error on oj