use ruby 1.8 hash format for compatibility

I'm sure there's not a lot of sympathy for supporting such old versions of Ruby but have pity on us poor souls stuck there...