Toggle ruby hash syntax between classic and 1.9 styles