Add general resolver to importer

To avoid a hard-coded URL here you could use `data-url`, initialized via the template and context.