adding topics to json / xml api