Here's the input json
{
"step": 1,
"inputs": {
"first_input": {
"file_id": "xxx"
}
"second_input": 3
}
}
{
"step": 2,
"inputs": {
"my_first_arg": {
"file_id": "yyy"
}
"my_second_arg": 0
}
}
The desired csv file is
1,first_input,"xxx"
1,second_input,3
2,my_first_arg:"yyy"
2,my_second_arg,0
The challenge here is that each inputs field contains a dictionary with different key names and the different types of values. Basically I want the value of the step field, all keys of inputs, and the children nodes of values of inputs, but having related data stay in the same row in the csv.