For those who don't want to make a complex filament spooler, here's a primitive Respooler!
It uses M8 hex bolts and nuts. The length can be arbitrary, but I have used ones that are 100mm long.
The holes are designed to be slightly tight for pressing in the bolts and nuts.