Heat butter over medium heat in a large saucepan until foaming. Add shallots, tomato paste and allspice. Reduce heat to low, cover, and cook, stirring occasionally, until shallots are softened, about 7 to 10 minutes. Add flour and cook, stirring constantly, until thoroughly combined, about 30 seconds. Gradually add vegetable or chicken stock, whisking constantly to combine; stir in reserved tomato juice.