Refactor getTopHackerNewsStories method