Spectral representation of thermal OTO correlators