pH fractionated lignin for the preparation of lignin-based magnetic nanoparticles for the removal of methylene blue dye