yams #60289 serialize [validation pending]

add a serialize function that can turn a yams schema in memory to a Python file.

prioritynormal
typeenhancement
done in0.31.0
load0.500
load left0.000
closed by#5dc9571617b6 serialize a yams schema to its python expression [closes #60289]