Rewriting DDI harvester.

Fix parsing flattened xpath_dict.