Fix hash syntax to be 1.8 compatible