Convert Ruby 1.8 to Ruby 1.9 hash style