Cover the container with food with a piece of baking paper aka parchment paper. This will be fire-safe and keep the boiling droplets from flying out of the container. Parchment paper can withstand temperatures above 500 °C long enough for you to bake a turkey or several in a gas oven. Microwaves shouldn't be a problem.
But don't mix it up with waxed paper or else it will burn!