[LIE/M] Output improvement
To apply the changes in !4851 to LIE/M [according to this comment](https://gitlab.opengeosys.org/ogs/ogs/-/merge_requests/4851#note_135277).
issue