removing redundant attribute from the json file