Update QA logging to handle non-UTF8 POST data without crashing