Added json-glib dependency to configure.ac and Makefile.am.