Process json in different page files