Parse node labels with spaces