convert best path from table to text list