Preheat oven to 350 degrees.
Heat a skillet to medium-high heat.
Add ground beef, onion, and garlic, and cook until the ground beef starts to brown.
Stir in cream cheese and continue to cook until the meat is browned and the cream cheese melts.
Stir in pickles, ketchup, mustard, salt, and pepper.
Transfer to a casserole dish and top with cheese.
Bake for 30 minutes.
Meanwhile, stir together mayonnaise, yellow mustard, and pickle juice.
Remove the casserole from the oven and drizzle with the sauce.
Top with desired toppings and serve.