Bugfix for large rationale.jsonld: change escape regex to json.stringify() + stdout blocking
Updated canonized data handling to use JSON.stringify for escaping characters.