fix string literals decoding, update support for latest text package