extract the public pages and blocks from the json file