put resutls belong to one document into one line as str(list)