create a package.json deps json tree