Creamy Ham Cassarole (Keto)

From James's Wiki

Ham, diced
cut green beans
16 oz mushrooms
1 cup shredded cheddar
1 cup shredded mozzarella
1 cup heavy cream
parsley
thyme
sage
salt
pepper