string escaper/descaper utility library