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.

Addresses issue glarizza/puppet-property_list_key/#7

~ Jonathan