code: public Map<String, Object> toMap() {
          if (size() == 0) {
              return Collections.emptyMap();
          }
          return Collections.unmodifiableMap(new LinkedHashMap<>(data));
      }
docs: Returns a map representing the contents of the bean.
  
  @return a map representing the contents of the bean, not null