change json so that the topic list is an array