private static void doConvert(Object object, String prefix, Map<String, String> result) throws IllegalAccessException {
    for (Field each : ReflectionUtilRt.collectFields(object.getClass())) {
      Class<?> type = each.getType();
      if (shouldSkip(type)) continue;

      each.setAccessible(true);
      Object value = each.get(object);

      if (value != null) {
        String name = prefix + each.getName();

        String sValue = String.valueOf(value);
        if (!isNativeToString(sValue, value)) {
          result.put(name, sValue);
        }

        Package pack = type.getPackage();
        if (pack != null && Model.class.getPackage().getName().equals(pack.getName())) {
          doConvert(value, name + ".", result);
        }
      }
    }
  }
private static void doConvert(Object object, String prefix, Map<String, String> result)