docs: public static Map<String, String> convertToMap(final String attributes) {
          Map<String, String> attributeMap = null;
  
          // split the attributes up, will be received as a comma separated list
          // of name value pairs
          final String[] nvps = attributes.split(",");
  
          if (nvps != null) {
              for (final String nvp : nvps) {
                  final String[] split = nvp.split("=");
                  if (split != null && split.length == 2) {
                      if (attributeMap == null) {
                          attributeMap = new HashMap<String, String>();
                      }
                      attributeMap.put(split[0], split[1].replaceAll("\"", ""));
                  }
              }
          }
  
          return attributeMap;
      }