fix ModelEntry.from_entry and ModelEntry.__repr__ behavior