parser: returning only direct dependencies