In a web browser extension that uses the native-messaging API to communicate with a native C application, it appears that, if the C application sends a badly formed JSON str