Changes the case of all keys in an array