NXP-19129, nuxeo principal content is replaced by it's id at marshalling time and resolved back when unmarshalled. As the principal is itself serialized in the cache maintained
by the user manager, we're ending in an infinite recursion loop. We should have instead distinct implementation for inside and outside references.
- depends on
NXP-19129 optimize listener work serialization