can.route: Minor fix in logic for converting objects to string