An alternative approach to serialization in akka-persistence