Fixing json_decode issues with escaped double quotes