I just released a small LZW implementation especially tailored for this very purpose as none of the existing implementations did meet my needs.
-
Here is the home page of the project
-
Here is a link to a demo comparing it with LZMA level 1
That’s what I’m using going forward, and I will probably try to improve the library at some point.