adding tabs with JSON