Improve JSON auto-detect.
Improve JSON auto-detect.

JSON won't ever include control characters, but sometimes a protobuf
will be all valid ASCII chars.

openxc/openxc-python,openxc/openxc-python,openxc/openxc-python