Fixes and updates

This PR fixes a serialization error I was getting, as well as updates a call in RSpec due to a deprecation warning.

I'm not sure if this is the right thing or not, but my compiles were stack tracing due to the calls to the `Puppet::Node::Facts.convert_from` function. I noticed that the parent class already had a function that seemed to do this, so I just called that instead.