Refactored searchById service for DOI/ PubMed search