agent: Work around json-glib bogosity re empty strings in arrays

https://bugzilla.gnome.org/show_bug.cgi?id=730803