Introduce an 'expose_stash' attribute that tells the json renderer which
part of the stash to actually send.

This led to the split of the render process, so it's now controlled in
the engine, and there is a set_renderer step.

This can be used for other renderer specific purposes too.