Replace 1.9 hash syntax with 1.8 compatible syntax