Adds serialization for search results and prevents repeated results.