remove -1 in json format of student detail