Refactored ANDSCollectionExport so that it now adds data for all spectra
in the collection, and checks for the existence of mandatory data.