In a blender or food processor, combine the tomatoes, onion, shallot, vinegar, brown sugar, mustard, allspice, cinnamon, mace, ginger, cloves, and red pepper flakes. Blend until puréed.
One 28-ounce carton or can of chopped tomatoes, 1 small sweet onion, 1 medium shallot, ½ cup cider vinegar, ¼ cup light brown sugar, ½ teaspoon dry mustard, ¼ teaspoon ground allspice, ¼ teaspoon ground cinnamon, ¼ teaspoon ground mace, ¼ teaspoon ground ginger, ¼ teaspoon ground cloves, ¼ teaspoon ground red pepper flakes