cli: make control chars in strings are escaped correctly for json output
We need to change json output escaping according to this https://bugzilla.gnome.org/show_bug.cgi?id=730425
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
We need to change json output escaping according to this https://bugzilla.gnome.org/show_bug.cgi?id=730425