Don't convert exception data to json before triggering event.
Don't convert exception data to json before triggering event.

The Dispatcher#extract_exception_data method was performing the
JSON conversion prematurely. It only needs to test that the
exception can be converted to JSON, not actually perform the
encoding.

websocket-rails/websocket-rails,mohitnatoo/websocket-rails,phlegx/websocket-rails,iamalfonso/websocket-rails,vincenzodev/websocket-rails,moaa/websocket-rails,iamalfonso/websocket-rails,vincenzodev/websocket-rails,phlegx/websocket-rails,MhdSyrwan/websocket-rails,sebyx07/websocket-rails,websocket-rails/websocket-rails,a-leung/websocket-rails,mzahir/websocket-rails,mzahir/websocket-rails,MhdSyrwan/websocket-rails,depili/websocket-rails,depili/websocket-rails,sebyx07/websocket-rails,moaa/websocket-rails,phlegx/websocket-rails,depili/websocket-rails,mohitnatoo/websocket-rails,iamalfonso/websocket-rails,MhdSyrwan/websocket-rails,vincenzodev/websocket-rails,mzahir/websocket-rails,mohitnatoo/websocket-rails,a-leung/websocket-rails,sebyx07/websocket-rails,a-leung/websocket-rails