Update hash syntax to Ruby 1.9 standard