Glycerol-based polymers for inhibition of type 2 inflammation and biosensing applications