Use WriteJSON and ReadJSON on Conn struct.

Since it is already a requirement to give the *Conn struct and ReadMessage and WriteMessage were methods on *Conn, figured it made sense to adjust the JSON methods.