Test unescaping of characters in integration test

Nokogiri escapes { and space.
Unescape {, }, and space
Use `URI.unescape` instead of custom method
Merge branch 'fix-character-escaping'