Cut off the tops of tomatoes and carefully remove the core with a spoon, it will not be useful for further cooking. If desired, you can add tomatoes to the baking dish.
Place the tomatoes on a baking sheet or grill and place in the oven, preheated to 200 degrees, for 5 minutes.