code: public BigDecimal getBigDecimal(String name) {
          Object found = content.get(name);
          if (found == null) {
              return null;
          } else if (found instanceof Double) {
              return new BigDecimal((Double) found);
          }
          return (BigDecimal) found;
      }
docs: Retrieves the value from the field name and casts it to {@link BigDecimal}.
  
  @param name the name of the field.
  @return the result or null if it does not exist.