Refactoring of iso.py so that MD_Metadata class can be used as an editor model