Builds compaction_end for turnId.
compaction_end
turnId
String hepCompactionEndFrame(int turnId, int tokensFreed) => jsonEncode({'type': 'compaction_end', 'turn_id': turnId, 'tokens_freed': tokensFreed});