In a pan add all the ingredients listed above except garlic cloves. Cook on low till tomatoes turn soft. Turn off the flame and leave it cool. Add peeled garlic cloves and grind to smooth. The consistency should be of dip or chutney. Season with salt if needed.