Removed deprecated Lwt text dependency

Closes: #2894
Merge pull request #2966 from Leonidas-from-XIV/bugfix/no-lwt-text

Removed deprecated Lwt text dependency