WPISuite sometimes sends malformed json, handle that gracefully