Warm the oil in a lidded saucepan over a medium heat. Add the onion and cook and stir for a few minutes until translucent; stir frequently to ensure the onions do not burn. Add the carrots then cover and lower the heat, allowing to cook slowly for a few minutes.
To the onions and carrots add the chillies and garlic. Once the carrots are getting a little bit softer, add the 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 crushed tomatoes and the tomato puree, followed by the maple syrup. Add the water and reduce the heat to low. Cover and let it cook gently for about 20 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.