fix usage of json-glib with our minimal version of glib. take 2