JSON stringThis function takes a list and converts it to a JSON string.
The resulting JSON string is then optionally justified to improve readability
and trimmed to easier fit in the console when printing.
jsonify(x, trim_lines)A JSON string representation of the input list.
(list), possibly recursive, obtained from teal_slice or teal_slices.
(logical(1)) flag specifying whether to trim lines of the JSON string.