group by id instead of topic per heroku request