prevent non-english chars are encoded. Fixes #50
escape slash to prevent e.g. unicode interpretation

Fixes #96
use JSON encoding for encoding title strings
fix double qoutes, and move JSON object outside loop
Merge pull request #100 from samuelet/encodedchars

prevent non-english chars are encoded. Fixes #50