Preheat the oven to 350 degrees F. Grease a 13x9 baking dish, and set aside.
Fill a deep pot with water and salt. Bring to a boil over medium-high heat, and add the green beans. Blanch for 4-5 minutes. Remove the green beans immediately, and transfer them to a bowl of ice water. Drain and set aside.
2 pounds green beans
In a large skillet over medium-high heat, melt the butter. Add onions and garlic, and sautè for 1-2 minutes or until fragrant. Add the mushrooms, and continue to sauté for an additional 1-2 minutes. Add the flour, stirring for 1-2 minutes in order to cook. Be careful not to burn!
8 Tablespoons unsalted butter, 1 medium onion, chopped, 4 cloves minced garlic, 1 cup button mushrooms, chopped, 1/4 cup all-purpose flour
In the skillet, add the milk, stirring until the roux thickens. Remove the mixture from heat, and add the pimentos, Pepper Jack cheese, salt, pepper, and thyme.
3 cups warm whole milk, 4 ounces pimentos, 8 ounces Pepper Jack cheese, 1 teaspoon sea salt, 1 teaspoon freshly ground black pepper, 1 teaspoon dried thyme
Add the green beans to the prepared baking dish. Pour half the roux mixture on top, and stir to combine. Top the mixture with the remaining roux followed by the Cheddar cheese and Panko breadcrumbs.
1 cup Cheddar cheese, 1 cup panko bread crumbs
Bake 30-35 minutes or until the casserole is bubbly and the Panko is golden brown.
Store in an airtight container in the fridge for up to 4 days.