strip rest json response