}
// Create list of Query instances
List<Query> queries = new Vector<Query>();
{
Iterator<?> itKey = jsonObj.keys();
while( itKey.hasNext() ) {
Object keyObj = itKey.next();
if( false == (keyObj instanceof String) ) {
throw new Exception("Invalid encoding of queries (non-string key)");
}