<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 Venue to a dictionary. :return: dictionary representation of this object. :rtype: dict """

        array = super(Venue, self).to_array()
        array['location'] = self.location.to_array()  # type Location

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

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

        if self.foursquare_id is not None:
            array['foursquare_id'] = u(self.foursquare_id)  # py2: type unicode, py3: type str

        if self.foursquare_type is not None:
            array['foursquare_type'] = u(self.foursquare_type)  # py2: type unicode, py3: type str

        return array