pub fn render_results(results: &[Value], format: Format) -> String
Render a list of contract results in the requested format.
JSON output is a well-formed array; XML output wraps the results in a <results> document element.
<results>