pub/sub daemon for json messages