restructed json response