Fix where arrays where enclosed in another array and strings weren't processed correctly.