experimental code to list all the dependencies of a module