Do `json_encode` for quote string and not just replace “ to \”

Fixes #29