Mash the bananas with the back of a fork or using a smasher. The bananas should have tiny chunks.
Transfer the mashed bananas to a pot. Simmer over low heat. Add the sugar, brown sugar, lime juice, water and salt. Stir to combine well.
Continue to simmer—stirring occasionally—for about 10-15 minutes, until the banana jam becomes slightly thickened. Stir in the ground cinnamon and rum, if using.
Remove from heat, let cool completely before transferring the jam to an air-tight container.
You may keep the banana jam in the refrigerator for up to 2 weeks.
