added deletion for pair view in json builder