We a have a Serialization object that is able to inspect to some point the serialization and modify it. It's not in its final form as it was used only to solve problems on the template. I also have a feeling that this should be somehow consolidated into Mousse.

https://github.com/montagejs/montage/blob/master/core/serialization/serialization.js not a lot of documentation in there, sorry.