Fixes bug where non-JSON breaks everything.

In certain plugins for Strider not all events are in JSON and this causes blocking errors. This alleviates that problem.