This is how I made it:
I used 3 onions, peeled and chopped, about 3 pounds of green tomatoes chopped, and 1 whole head of garlic, peeled and sliced. I also added some red tomatoes. Roast in large roasting pan with oil until caramelized and soft. Add chopped fresh herbs: marjoram, garden celery, parsley, mint, thyme return to oven and roast 5 - 10 minutes more.