json-glib: Fix splitting, use auto-deps