Any nonprintable output in stdout and stderr should yield a json file that is still valid UTF-8.