added support for json queryObjects