add function to directory for listing all services a given node provides