Fix array wrapping around hash types.

When a hash is passed into Puppet, it is actually a singleton array with a hash. Therefore, it needs to be "unwrapped" by grabbing the first element.
Merge pull request #10 from nybblr/master

Fix array wrapping around hash types.