Map arrays were being exported twice.