Added key escaping to ArrayUtil functions.