Tab assignment with JSON