return wavelength and loggf as json arrays