Remove and discard the thyme, but for the garlic cloves it depends on your taste: remove and discard them all, or leave them all or just some. I, for example, keep half, i.e. 3/6.
Pour the entire contents of the dish, tomatoes and juice, into the bowl of a blender. If necessary, deglaze the bottom of the dish with the tomato juice or 2 tablespoons of water.