Clean up Streamer.onmessage

This now receives JSON, and also cleaned up the body of the `onmessage` handler.
That should be assert.