Serialization for persisted data is not great.
Please consider a mechanism that is easier to keep backward compatible and portable.