JSON Generator from Tilemap