fix the collector plugins for change to API where resource_uri can be specified.