Refactor: Moved assembly / disassembly of MetadataDto to separate objects