Seek to understand why the fire escaped from the burner area and caused the rollout switch to overheat and open.
Spiders like to nest in the gas burners and block the gas flow. That causes gas burners to burn yellow, when proper gas mixture flame is blue, or not light.
Use 14ga copper wire cut at a sharp angle and put a little hook to pull spider web out. On a RayPak the heater tray usually has to be pulled out to get to the orifices.
Disconnect it from the gas line and all the wiring to the valve, etc. Take pictures. After that the tray, has to be dis-assembled to access the orifices. There is a bar across the back of the tray that keeps the burners in place. Remove that and they will pull of the orifices. They will pop back into place with a little push. Its not hard, just tedious. If you do it, take your time and be sure to use some new pipe dope on the fittings to re-assemble. If not familiar with gas plumbing, do a lot of research. Lots of sheet metal screws that use a 5/16 nut driver. Put them all back.
This may not be the best DIY project. You will be dealing with an expensive appliance that can be dangerous if not done correctly.
When you get it cleaned, be sure to fire it for a couple of minutes at least once a month to keep the spiders out. They love heaters.
Otherwise you are likley to blow the new rollout switch.