def station_record_to_dict(self, record):
    if (record.polling_place_id == '17923'):
        rec = super().station_record_to_dict(record)
        rec['location'] = Point(0.512389, 52.843528, srid=4326)
        return rec
    if (record.polling_place_id == '17867'):
        rec = super().station_record_to_dict(record)
        rec['location'] = Point(0.404833, 52.748556, srid=4326)
        return rec
    if (record.polling_place_id == '18049'):
        record = record._replace(polling_place_postcode='PE14 9QH')
        record = record._replace(polling_place_easting='0')
        record = record._replace(polling_place_northing='0')
    return super().station_record_to_dict(record)
def station_record_to_dict(self, record):
    if (record.polling_place_id == '17923'):
        rec = super().station_record_to_dict(record)
        rec['location'] = Point(0.512389, 52.843528, srid=4326)
        return rec
    if (record.polling_place_id == '17867'):
        rec = super().station_record_to_dict(record)
        rec['location'] = Point(0.404833, 52.748556, srid=4326)
        return rec
    if (record.polling_place_id == '18049'):
        record = record._replace(polling_place_postcode='PE14 9QH')
        record = record._replace(polling_place_easting='0')
        record = record._replace(polling_place_northing='0')
    return super().station_record_to_dict(record)