TripsHistory.toJson() handles cities and trips

Required implementing Comparable for everything.