Added extra json object encapsulation for outgoing messages