Changing Spectrum getters to return const std::string&

7 jobs for spectra in 10 minutes and 10 seconds (queued for 2 seconds)