[BISERVER-11429] - Handling of backslashes for encode/decode

[BISERVER-11429] - Handling of backslashes for encode/decode