Powershell Function Returns System Object Instead Of String