Parse array of arrays