YAJL \r\n escaping

Hello

I`m using this lib(in compatible with json gem mode) for some embedded
version of ruby(1.8) but it does not escape special symbols like \r\n

How to fix it properly?