make ordered_hash/to_yaml work with ruby 1.9 psych