Add support for json on active output