This patch uses standard addOutputModule for storeResults

Other fixes in stageOut
I added standard json to requests in test