if you're making your REST call from an environment that has 'python' installed (linux, for one), you can pipe all of your curl output into python to reformat the output like:
curl http://localhost:8091/pools/default/buckets/{bucket_name}/ddocs | python -mjson.tool
if you're making your REST call from an environment that has 'python' installed (linux, for one), you can pipe all of your curl output into python to reformat the output like:
curl http://localhost:8091/pools/default/buckets/{bucket_name}/ddocs | python -mjson.tool