allow JSON output to stdout