get the tab names and the tab content with JSON