code: function getRoutes (server, host) {
    return server.table(host).map(({ path, method, settings: { vhost } }) => ({
      path,
      method,
      ...(vhost ? { vhost } : {})
    }))
  }
docs: @function
  @private
  
  Get all routes in server table
  
  @param {hapi.Server} server The related hapi server instance
  @param {string} host The host to filter by virtual host
  @returns {Array.<?Object>} List of routes