docs: public static void setProperties(Object object, Map map) {
          MetaClass mc = getMetaClass(object);
          for (Object o : map.entrySet()) {
              Map.Entry entry = (Map.Entry) o;
              String key = entry.getKey().toString();
              Object value = entry.getValue();
              setPropertySafe(object, mc, key, value);
          }
      }