remove the path '/json' from topic api