Add a method to the server which returns collapsed dependencies