add pretty print for json response