Fixed bugs in the MODS and METS generation for DPLA.