Refactor #9692 Escape strings in array data