Ema (CA) interview question

Recursively break down a json