Modified again x_ac_json.m4 to define HAVE_JSON and modified
the code accordingly.