Handle Hackage dependencies as a dictionary instead of a string