added getNodeLabels and getAllLabelNames