added support for link pointers to external metadata (i.e. for datastreams)