make ordered dict hashable