Some resources (e.g. WildFly's transaction subsystem's log-store resource) may use the Resource tree DMR model node to store non-persistent, runtime-only state. If this is done, any such value should not be propagated to a remote HC.
(This is actually very unlikely to happen in practice as runtime-only attributes are not typically used in the domain model. It does affect transformer testing though as transformer tests usually don't take care to inform their extension that they are running in an HC.)
Cleaning this up helps resolve
WFCORE-4183 by removing irrelevant data that confuses domain mode transformer tests.