remove service from the json object