Convert 1.9 hash syntax to hashrocket syntax.

Fixes #2398 for 1-3-stable branch