code: function encode (body) {
    var str = JSON.stringify(body)
    return Buffer.from(str).toString('base64')
  }
docs: Encode an object into a base64-encoded JSON string.
  
  @param {Object} body
  @return {String}
  @private