XML parsing of custom nodes

I customized a JSON file to create a new type of node < lodash: array >.

question1

There is no problem dragging nodes to render, but there is a problem parsing custom nodes when calling importxml with the generated XML.

question2

The custom nodes are not resolved and the canvas is not rendered
What is the reason?

For further assistance, please share a CodeSandbox that reproduces your issue in a way that we can inspect it.

This way it will be much easier for us to help you.

Thank you for your help.
I have found the answer in this discussion.
:grinning:
https://forum.bpmn.io/t/extension-elements-cleared-when-loading-xml-in-modeler-editor/6702/9?u=jia-bo-wen