updating tools/maxcurl to print entire json response, not just data block