ConvertFrom-Json to CSV

Hi,
Here is one of the ways to do what you want:

$json.public_cluster.records | ForEach-Object {
    $_ -join ',' | ConvertFrom-Csv -Header $output.public_cluster.Columns | 
        Export-Csv -Path C:\test.csv -NoTypeInformation
}