jsonify function

Convert a list to a justified JSON string