code: public Object[] getAsModel(Map<Class<?>, List<Object>> o, Class<? extends D6Model> modelClazz) {
  
      return toArray(o.get(modelClazz), modelClazz);
    }
docs: convert result into ModelObject from the result of execSelectWithJoin
  
  @param o
  @param modelClazz
  @return