Set oven to broil. On the reserved pan, combine cranberries, grapes, thyme sprigs, maple syrup, orange juice, and remaining salt and pepper. Broil until cranberries burst and grape skins split, about 5 minutes. Nestle shallots onto the pan and broil for 2 minutes more. Remove thyme sprigs. Serve warm or at room temperature.