Working With Json Objects In Powershell Script If Statement