Change constants to strings in array keys