Win powershell json improvements

slight tweak in how the powershell module converts to json in order to support nested objects (allows for more complex facts, among others)