Prettify data when writing it out in --local-mode
Prettify JSON output from PUT/POST in local mode