code: public static void addAttributes(final Map<String, Object> attributes, AttributesBuilder attributesBuilder) {
          // TODO Figure out how to reliably set other values (like boolean values, dates, times, etc)
          for (Map.Entry<String, Object> attributeEntry : attributes.entrySet()) {
              addAttribute(attributeEntry.getKey(), attributeEntry.getValue(), attributesBuilder);
          }
      }
docs: Adds attributes from a {@link Map} into a {@link AttributesBuilder} taking care of Maven's XML parsing special
  cases like toggles, nulls, etc.
  
  @param attributes        map of Asciidoctor attributes
  @param attributesBuilder AsciidoctorJ AttributesBuilder