Move serialization to PostaggedToken.