Metaview interview question

Given a JSON manipulate in a certain way