kafka: improve the message schema for the journal writer
Change the keys for relations to allow topics to be compacted.
Entity topics depend on NOT being compacted as outdated data can reach
the topic when multiple writers process the same content.
Update the replayer accordingly fixing a few behavioural bugs.