Support for json in output