I have a json with a list. The list can come empty. If it has content, append the list items to a variable and if it is empty, assign a hyphen (-). I\'ll render the json int