This patch uses standard addOutputModule for storeResults
Other fixes in stageOut
I added standard json to requests in test
Merge pull request #5158 from lucacopa/store_results_patch

This patch uses standard addOutputModule for storeResults