XWIKI-9349: Introduce output instance component for WikiStream
* reduce code duplication