Added a json() accessor on the connection object
Added a helper to send JSON