Make JSON support optional in autotools setup, enable by default; add comments