This stuff is all in https://github.com/projecthydra/sufia/blob/master/sufia-models/lib/sufia/models/generic_file/metadata.rb, don't add it back here.