API: Clean up invalid UTF-8 in the result before feeding it to the formatter. This...