==================
* Now `filename` is optional for `JsonOutput`. And new parameter `stream` can be given.
For example, `stream=sys.stdout`.
* Also, `setup_logging` now uses `JsonOutput` with `stream=sys.stdout`, if
`filename` is `None` and `format='json'` (this is default). This makes
possible to output in JSON to stdout.