ArrayList<SearchFilter> filters = new ArrayList<SearchFilter>();
Object[] resultArray = (Object[])result;
for(int i=0; i<resultArray.length; i++){
Object[] o = (Object[])resultArray[i];
filters.add(new SearchFilter(o[0].toString(), o[1].toString()));
}
return filters;
}