Changing so all nodes just have a label field, in which type, name and
value reside. The idea is that the node labels can be arbitrarily
complex JSON structures.