Added code so strings with quotes get removed so hiredis will not escape...

... them
Since you're returning a copy, you can just do "return value.substr(1, value.length() -2);" here. This also lets you make value a const. You'll find in general that using "const" where ever you can makes the code far easier to reason about.