Change the current implementation of wrapping the Invoke-GitHubApi in paranthesis and accessing the Response value. Instead, pipe for foreach and Write-Output the $_.Response. Optionally add the other fields as a write-verbose
Invoke-GitHubAPI @inputObject | ForEach-Object {
Write-Output $_.Response
}