Describe the bug
When assembling a SMURFA which consists of multiple parts including ones with motor definitions in their SMURFS these definitions are not exported in the assembled SMURF.
To Reproduce
Define a SMURFA with parts which contain motor definitions tied to joints.
Assemble the SMURFA with phobos convert into a SMURF definition.
Afterwards there is no motor definition found in the resulting SMURF files.
Expected behavior
The motor definitions should be gathered and exported as well.
It might be neccessary to rename them (the same way as the joints have to be renamed)