{'GROUP': 'AAA', 'AVG_GRADE': [[7.0, 5.5], [8.0, 6.5], [9.0, 4.5]],
    'AVG_MINUTES': [[7, 67], [8, 58], [9, 55]]},
How to convert dataframe to a json string and apply some transformations to this string?