Preheat oven to 375˚F. Place garlic heads and shallots over a sheet of foil and drizzle with oil. Season with salt and pepper.
Wrap foil tightly around garlic and shallots and roast for about 1 hour. Remove from oven and allow garlic and shallots to cool, about 15 minutes before unwrapping foil.
In a mixing bowl combine cream cheese, mayo, chives, parsley, and salt and pepper. Squeeze in garlic heads and shallots.
Stir together until fully mashed together and mixture is smooth.
Add 4 ounces of mozzarella and 4 tablespoons parmesan.
Stir together.
Pour mixture into a baking dish.
Top with remaining mozzarella and parmesan.
Bake for 15 minutes or until heated through and top is melted and bubbling.
Transfer dip to broiler and broil for 1 minute or until browned on top. Serve with crackers and crostini.
