updated getTripInfo to the new format which supports # in trip_id