fixing json for page.js