added a json-c type replacement for json_bool which is not present in older version (for instance, 0.9, which debian squeeze uses)