Strain the cooking liquid from the beans and reserve(you should have about 2 cups of liquid-add water if necessary to reach this amount). Heat the olive oil in a large skillet over medium heat. Add the garlic and cook until it turns white and fragrant, only aobut 30 seconds. Stir in the onions, rosemary, and chili. Cook gently until the onions are very soft, about 10 minutes, stirring occasionally. Add the beans and enough bean cooking liquid to make the mixture brothy; simmer 5 minutes.
Stir in the escarole or spinach; simmer until it is all wilted. Add the tomatoes, butter, parsley, and cheese if using. Remove from the heat, and stir until the butter is melted in, adding additional bean liquid as necessary to keep it brothy. Season well with salt and pepper.
Serve warm, drizzled with extra virgin olive oil.
This stew can be prepared just up to adding wscarole. Refrigerate for up to 3 days. The flavors will marry and the dish will be even better.