Inkitt Interview Question

Manipulate a nested JSON tree.