first stage of removing FoxmlDocument on ingest