Update hash syntax to Ruby 1.9 style

Going through the code and updating the old syntax.