Yes, it is definitely a tad odd. I'm trying to get that cleaned up so SDK users do not have to deal with that. Here's PowerShell code for making the IPAddressGUID value:
function ip2guid($ipString) { $ip = [System.Net.IPAddress]::Parse($ipString) $src = $ip.GetAddressBytes(); $data = new-object byte[] 16 $src.CopyTo($data, $data.Length - $src.Length) $dest = new-object byte[] 16 [Array]::Copy($data, 12, $dest, 0, 4) [Array]::Copy($data, 10, $dest, 4, 2) [Array]::Copy($data, 8, $dest, 6, 2) [Array]::Copy($data, 6, $dest, 8, 2) [Array]::Copy($data, 0, $dest, 10, 6) return (New-Object Guid (,$dest)).ToString() }
And yes, that's exactly what I mean by "node properties as a json object".