Add Exit-Json and Fail-Json powershell helper functions