Fix TileId serialization issue.