modules/rls: added support for escaped chars in rls-services document
(cherry picked from commit fa9b8664a3b7c7a035c738a37b8ef0ef44190cb8)