code: def generate_payload(self, config=None, context=None):
          
          for name, plugin in iteritems(self._registered):
              if plugin.supports(config, context):
                  logger.debug('Returning payload from plugin %s' % name)
                  return plugin.generate_payload(config, context)
  
          logger.debug('No active plugin to generate payload')
          return {
              'context': context
          }
docs: Generate payload by iterating over registered plugins. Merges .
          :param context: current context.
          :param config: honeybadger configuration.
          :return: a dict with the generated payload.