Changed map:export to export as 1d or 2d array