Text this: From spent lithium-ion batteries to functional materials