only use zmq.jsonapi when talking to zmq sockets

use stdlib json otherwise
Merge pull request #6011 from minrk/no-jsonapi

only use zmq.jsonapi when talking to zmq sockets