<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_array(self):
 """ Serializes this PassportElementErrorUnspecified to a dictionary. :return: dictionary representation of this object. :rtype: dict """

        array = super(PassportElementErrorUnspecified, 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['element_hash'] = u(self.element_hash)  # py2: type unicode, py3: type str

        array['message'] = u(self.message)  # py2: type unicode, py3: type str

        return array