Use querystring to transmit JSON objects over tcp connection.

Signed-off-by: OwenPatey <owen_patey@hotmail.com>