The command will transform the json file users.json in csv, users.csv.
The json has an array named items
that contains different fields, here we select only id, name and the array perms.
the tostring
filter is applied to flatten the array perms
{
"items": [
{