Use separate case labels for text nodes instead of type lookup table