Proper support for hashtable resource properties

Previously, the type mapping was not allowing the returned type to be converted back to powershell