added ability to generic foreign resource to create bundle from data with resource_uri