https://issues.jboss.org/browse/WFLY-2461 cli: refactoring of character escaping

https://issues.jboss.org/browse/WFLY-2461 refactoring of character escaping in operation parameter values