code: private List<PropertyModel> buildModel(Map<String,String> properties) {
      List<PropertyModel> props = new ArrayList<>();
      for (Map.Entry<String,String> e : properties.entrySet()) {
        props.add(new PropertyModel(e.getKey(), e.getValue()));
      }
      return props;
    }
docs: /*