Convert ruby 1.8 hash syntax to 1.9

In response to #25