If dep has mods field - parse shortcut, else parse detailed dep