IPC: wrap JSON parsing inside try / catch block
Merge pull request #303 from macbre/ipc-json-parse-fix

IPC: wrap JSON parsing inside try / catch block