[iwhd] Escape the generated JSON