Opsview Puppet Module and REST API

I'm currently trying out Opsview Pro for my company. One of the objectives that I've been tasked with is automating the addition of our nodes to Opsview using our current Puppet deployment.

So far I've been able to update the opsviewmonitored.rb provider type from the Puppet Forge module to support keywords and parents, however my boss would like us to be able to configure the Host Attributes from Puppet as well, and I've been unable to get that working so far.

I've attempted to hard code a test value into the JSON string to be sent, as a proof of concept before adding it as a Puppet parameter, but the attribute and change isn't being registered on the Opsview server when Puppet runs.

Any help regarding this would be greatly appreciated. I've attached the provider type file.