Displaying of occurrences in JSON.