Comms with JSon servlet