Place tomatoes in oven proof dish. If some tomatoes are a lot larger than others, slice in half the larger ones so that they are all about the same size.
Add the garlic, olive oil and salt & pepper to the dish. Mix the tomatoes well and roast in the oven until they start to brown and you can see some tomato juices in the pan, about 25-30 minutes.
Sprinkle with the grated cheese if using.
Recipe by Cook Eat Run at https://cookeatrun.com/2014/01/28/roasted-grape-tomatoes/