Basic jobs queue dispatchment

We use JSON to send to each clients the orders. At the moment the
clients respond with simple strings, but we might adopt JSON for that
as well.