code: function correctReply(reply, msg) {
    if (!_.isPlainObject(reply)) {
      reply = { "output": reply }
    }
    // autofill if not already exist
    reply["to"] = reply["to"] || msg["from"]
    reply["from"] = reply["from"] || ioid
    reply["hash"] = reply["hash"] || msg["hash"]
    return reply
  }
docs: correct the reply JSON /* istanbul ignore next