Kirby's Epic Yarn is a very huge game with a little of it being unraveled internally. From what I can tell the game handles the yarn by using NURBS curves, I saw this image a few months back and it supports my theory as both Kirby's Epic Yarn and Yoshi's Woolly World were made by the same developer. I don't know coding or file structure, but my theory is that it uses a NURBS curve (MNEB file) and then switches to one with more points along the curve when it needs to. I put a zip full of enemy data from the game that isn't just MNEB files, if anyone has the time to analyze them and possibly convert them.
example.zip