code: def summarize_events(self, events_json):
          
  
          ret = []
  
          for event in events_json:
  
              event_dict = {
                  'action': event['eventAction'],
                  'timestamp': event['eventDate'],
                  'actor': None
              }
  
              try:
  
                  event_dict['actor'] = event['eventActor']
  
              except (KeyError, ValueError, TypeError):
  
                  pass
  
              ret.append(event_dict)
  
          return ret
docs: The function for summarizing RDAP events in to a unique list.
          https://tools.ietf.org/html/rfc7483#section-4.5
  
          Args:
              events_json (:obj:`dict`): A json mapping of events from RDAP
                  results.
  
          Returns:
              list of dict: Unique RDAP events information:
  
              ::
  
                  [{
                      'action' (str) - The reason for an event.
                      'timestamp' (str) - The timestamp for when an event
                          occured.
                      'actor' (str) - The identifier for an event initiator.
                 }]