code: def get_certificates(self):
          
          for certificate in self.user_data.certificates:
              certificate['datetime'] = certificate['datetime'].strip()
  
          return self.user_data.certificates
docs: Get user's certificates.