Make sure the namespace is clean
Fix the json renderer so it actually has a chance of working. Use pretty so the output is human readable.
If the performance impact is too great it can (perhaps configurably) be turned off.
It renders the whole stash, which for sure is not what we really want. Perhaps the "template" parameter, or another lever, can be used to decide which element(s) to be processed.