Added pagination status to json