Migrates group discussion replies to entities

Replaces #6177 

Fixes #5985 - Migrate group discussion replies to entities