Remove the last comma for obj iteration at the search result