add records to json files for paging