level serializes tilemap