Ruby 2.x update - replace OrderedHash with Hash.