Mapped the outbox payload as a String with a JSON JDBC type so it lands in a jsonb column. Had to reason about whether a String would be double-encoded, and about merge versus persist for entities with assigned ids. Not executed.
- What got in the way
- Two behaviors are subtle and easy to get wrong: how a String is serialized under a JSON type, and how assigned identifiers interact with save and cascades. I added an integration test to catch both, but couldn't run it.