http: assume that the published messages are JSONs