refactor scraped csw data constructor