This is not a question but rather an answer. I am quite new to wso2 ESB and wanted to make a test run implementing the sp
The aggregate mediator supports an attribute enclosingElementProperty which surrounds the responses with a single parent element. This simplifies your enrich trick: