JSON interview question