fix(metadata): Fix metadata displaying and editing

SD-1141