minor stuff in jsonclient

Signed-off-by: Marco Milanesio <milanesio.marco@gmail.com>