DOCS-1276 printjson, tojson and related methods for MR and where