add degree to json