Move parsing to creation of ImportDocument