Make visualizer robust to changes in capability name types