protected Collection<String> getProperties(String name) {
    List<String> values = uriInfo.getQueryParameters().get(name);

    List<String> properties = new ArrayList<>();
    if (values != null) {
      for (String value : values) {
        String[] parts = value.split(",");
        for (String part : parts) {
          part = part.trim();
          if (!part.isEmpty()) {
            properties.add(part);
          }
        }
      }
    }

    return properties;
  }