fix response JSON for error in importer