Bug in serialization code for tsp fixed