We use FRB's parse function that returns the syntax tree of an frb expression, we then walk the tree for component names that have a colon in the middle and change them after resolving the template property if it's an alias.
The current SerializationInspector only allow us to change the component name, not the path. I guess we could add the necessary changes to check if the new component name includes a path and amend the syntax tree if you think it's worthwhile.