normalize dependency lists for automated processing