code: def to_array(self):
          
          array = super(PassportElementErrorReverseSide, 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_hash'] = u(self.file_hash)  # py2: type unicode, py3: type str
          array['message'] = u(self.message)  # py2: type unicode, py3: type str
          return array
docs: Serializes this PassportElementErrorReverseSide to a dictionary.
  
          :return: dictionary representation of this object.
          :rtype: dict