in core/src/main/scala/org/apache/pekko/persistence/jdbc/serialization/PersistentReprSerializer.scala [43:48]
def serialize(persistentRepr: PersistentRepr): Try[T] =
persistentRepr.payload match {
case Tagged(payload, tags) =>
serialize(persistentRepr.withPayload(payload), tags)
case _ => serialize(persistentRepr, Set.empty[String])
}