Escape strings with exported arrays