Hacked getContactRelationshipSelector in core, how do I implement as an extension?
Since this function is used from an ajax callback, your extension could do 2 things:


Override the template, which allows you to specify a different ajax path for the dt.
Create your own ajax callback which starts by calling that function, then appends its own data.