json_encode escapes double quotes that do not need to be escaped.  You may want to
```
str_replace('\"', '"', JSON)
```