Preheat the oven to 200°C/fan 180°C/gas mark 6. Place the peppers on a baking tray and roast for 30-35 minutes until blackened all over. Remove from the oven and place carefully into a plastic food bag and allow to cool. Once cool enough to touch, remove the skin, stalk and seeds then discard.
Combine the peppers with the breadcrumbs, molasses, cumin, chilli flakes, garlic, walnuts and olive oil in a food processor. Pulse until puréed but with a slightly chunky texture. Set aside.
Pour the beaten egg in a shallow dish, and mix together the almonds, parmesan and breadcrumbs in another with some seasoning. Dip the beans in the beaten egg, then in the dry ingredients, making sure they are coated well. Place on a lined baking tray and bake in the oven for 15-18 minutes, until golden crown and crisp. Serve the green beans alongside the dip.