Brush the fireproof dish with oil, preheat the oven to 220 ° C. Cut the tomatoes and cheese into 1cm thick slices and layer them in the form like a roof tile. Peel and dice onions and garlic. Sprinkle the garlic with salt and mash it. Mix with olive oil, onions and pepper, drizzle over tomatoes and cheese and bake for 20 minutes. Sprinkle with thyme and bake for another 5 minutes. With white bread.