Convert 1.9 hash syntax to hashrocket syntax.

Fixes #2398