[COOK-2427] Use Ruby 1.8 hash syntax for backwards compatibility.