Implemented get_news_with_terms function