docs: def _get_condition_json(self, index):
      """ Method to generate json for logging audience condition.
  
      Args:
        index: Index of the condition.
  
      Returns:
        String: Audience condition JSON.
      """
      condition = self.condition_data[index]
      condition_log = {
        'name': condition[0],
        'value': condition[1],
        'type': condition[2],
        'match': condition[3]
      }
  
      return json.dumps(condition_log)