Daemon: json-cpp: fix fail if "expected int, but obtained string"