Changed format of dump and added docid