Made data source mapping into separate function. HtmlUnit doesn't work yet; keep tryin'