Powershell Foreach Array Php To Json