move EntryMetadataDTO to lex model