Converts the give object to an URI object.
null if the source is null, otherwise the URI.
the object to be converted.