Improving circularity of bio-based side streams with pretreatments