Oh right, all the attachments are a flat array, but map creates an outer array.