Change hash syntax to 1.8 style