Cut the tops of the pumpkins and remove the seeds and membranes.
Place the pumpkin on a baking tray and bake at 170 degrees until the pumpkin is cooked through. (test with a skewer, the skin should pierce easily.)
Place the rice in a rice cooker or cook as instructed on the packet.
In the meantime, fry the onion, garlic and rosemary in oil until softened.
Add the spinach, lentils, soy sauce, honey and chinese five spice. Stir until just combined and remove from the heat.
In a small saucepan add the remaining oil and honey with the cubed tofu, then sesame seeds. Fry until golden and remove from heat.
Once the rice is cooked gentle combine the rice, onion & lentil base and the tofu in a bowl.
Remove the pumpkin from the oven and stuff the pumpkin shells with the filling. Return the pumpkin to the oven if the rice has cooled or serve immediately if the dish is still hot.
You will find there is quite a lot of the rice filling leftover. I decided against reducing the quantities as I love having leftover rice salad in the fridge, It tastes great served chilled.