adjusting getTopics to see if it can parse into JSON properly