How to extend modeler stencilset

I want to add new node to the stencil set in flowable.
This node is SubProcess like and has extension elements.
example:

<subProcess id="simulationSubProcess" >
  <extensionElements>
    <flowable:type>simulation</flowable:type>
    <flowable:virtualEngineConfiguration><![CDATA[${virtualEngineCfg}]]></flowable:virtualEngineConfiguration>
  </extensionElements>

Do you have any idea how to?
Thank you in advance.
Martin

See a recent commit (for cmmn, but idea is the same): https://github.com/flowable/flowable-engine/commit/dc73400ccc6f353242d95cd6bddaa04e759d8e1d

Quite a bit of stuff needs to be done to do it: stencilset / json converter / xml export.