code: function enrich(config) {
      if (config.tags && config.tags.indexOf(',') !== -1) {
          config.tags = config.tags.split(',');
      }
  
      if (config.results && config.results.indexOf(',') !== -1) {
          config.results = config.results.split(',');
      }
      if (config.results && typeof config.results === 'string') {
          config.results = [config.results];
      }
      if (config.outputDetails && typeof config.outputDetails != 'object') {
          config.outputDetails = config.outputDetails.split(',');
      }
      config.outputSumary = !!config.outputSummary;
  
      return config;
  }
docs: Enrichment.