refactor importer to support multiple objects