Powershell Output Array To Object Json Php Header Function