METS: Cleanup handling of parsed metadata from CSVs

Clean up data to be sane before passing to helper function. Adjust helper
function parameters and return value to work better with reingest.