SCOM Monitor not showing PropertyBag values

I have a script that is scraping a website and returning values from certain checks. When I run the script locally, it works as expected and the PropertyBag is displaying all the information as needed. I have confirmed that the information is correct, and I am passing in string values to make things simpler.

When I run the same script/monitor in SCOM, the values are not being populated. The keys are showing as expected as well in the property bag

Has anyone run into something similar and if so, what was the solution?