Write response to stdout so it can be piped to other shell apps