code: function generateListHandler(model, options, logger) {
    const Log = logger.bind()
    options = options || {}
  
    return async function(request, h) {
      try {
        Log.log(
          'params(%s), query(%s), payload(%s)',
          JSON.stringify(request.params),
          JSON.stringify(request.query),
          JSON.stringify(request.payload)
        )
  
        let result = await handlerHelper.listHandler(model, request, Log)
        delete result.pageData
        return h.response(result).code(200)
      } catch (err) {
        handleError(err, Log)
      }
    }
  }
docs: Handles incoming GET requests to /RESOURCE
  @param model: A mongoose model.
  @param options: Options object.
  @param logger: A logging object.
  @returns {Function} A handler function