add methods using jansson library's iteration protocol