Clear the list elements before loading JSON data.