Fix for error running with latest RxJS library (Issue #5)

I'm assuming that the subject field on the hub doesn't actually need to be part of the JSON sent to the server, so extending the object with an empty toJSON function omits it from the JSON and prevents the error.

If this assumption is not correct then this fix will be no good.