docs: def to_array(self):
          """
          Serializes this PassportElementErrorFiles to a dictionary.
  
          :return: dictionary representation of this object.
          :rtype: dict
          """
          array = super(PassportElementErrorFiles, self).to_array()
          array['source'] = u(self.source)  # py2: type unicode, py3: type str
          array['type'] = u(self.type)  # py2: type unicode, py3: type str
          array['file_hashes'] = self._as_array(self.file_hashes)  # type list of str
          array['message'] = u(self.message)  # py2: type unicode, py3: type str
          return array