Heat 2 tablespoons of oil in a large skillet set over medium heat. Once hot, add the onion and cook for a couple minutes, until it starts to wilt. Add the garlic and cook for another minute, until fragrant. Incorporate the tomatoes, tomatillos and sprinkle in the salt, sugar, allspice, and cinnamon. Mix well and cook for another 5 minutes, stirring occasionally, until the vegetables have softened.