Text this: Metasurface-engineered thermal emitters enabled chip-scale mid-infrared spectroscopic sensing