added json and pages