adjust to new record file output format (with id in xpath)