Update publisher to emit a application/json message