Constructor, used in fromConfig
Allow external code to assign to this object as if it was a Dependency
Serializes a selected version to JSON for dub.selections.json
Read a Dependency from the config file - Required to support both short and long form
Wrapper around SelectedDependency to do deserialization but still provide a Dependency object to client code.