Fixes to protocol from earlier changes.

* Use new jsonWriter implicits
* Create jsonWriter implicit on WireProtocol object