Warm the oil in a lidded saucepan over a medium heat. Add the onion and garlic and cover with lid. Cook and stir occasionally for a few minutes until translucent; stir frequently to ensure the onions do not burn. Add the carrots then cover with lid, allowing to cook while you prepare the red pepper.
Once the carrots are getting a little bit softer, add the chopped red pepper. You can now raise the heat to medium high. Add the beans and after about 2 to 3 minutes, add the sweetcorn, spices, herbs and seasoning.
After another 2 to 3 minutes, add the chopped tomatoes and the tomato puree, followed by the maple syrup. Add the water and reduce the heat to medium/low. Cover and let it cook gently for about 10 minutes. Transfer to an ovenproof baking dish and sprinkle the cheese on top.
Bake in the preheated oven for about 10 minutes until the cheese has gotten a nice golden/slightly brown colour. Remove from the oven and serve.