Text this: Variations in structure and properties of lignin during pulping processes