Convert 1.9 hash syntax to hashrocket syntax.

Fixes #2398 for master branch