Pass raw string to JSON module to correct encoding

Fixes issue #11