pub fn render_json_result(result: &DeterminismResult) -> Result<String>
Create JSON formatted output string.
Returns an error if JSON serialization fails.