improving zmq and trying json

adding json over zmq for sending monitoring