MicroStrategy interview question

Restructuring JSON data