adding json output of nodes by associated kmap ids