Make GraphIndex accept nodes as key, value, references, so that the method signature is closer to what a simple key->value index delivers. Also change the behaviour when the reference list count is zero to accept key, value as nodes, and emit key, value to make it identical in that case to a simple key->value index. This may not be a good idea, but for now it seems ok.