Rather than using is_json_context(), use the print_string functions which handle both cases. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>