added logger to JSONClient.py

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