Text this: Terahertz characterization of two-dimensional low-conductive layers enabled by metal gratings