Deserialize strings and ORIDs into collection of their types.