Currently, we have only one serializer that is used everywhere.
We need to have a distinction between storage layer serialization and public interface serialization because we don't want to expose nextFromId counter stored in Lexeme to the users but need to store it in the DB.