Return Undefined if there is no json in a ipc response