replaced anonymous object in getArticlesByCategoryId