Use ruby 1.8 syntax for hashes

Should make the ruby 1.8 tests pass on Travis CI

attention @cheald