json - split nodes and links calculation