The function get_word_cloud now returns a dictionary instead of a formatted string. The display is upto the template.