Support arrays when casting SQL JSON back to strings #984