Convert to Ruby 1.8-compatible hash syntax