code: public static Object normalize(Object input, JsonLdOptions options) throws JsonLdError {
  
          final JsonLdOptions opts = options.copy();
          opts.format = null;
          final RDFDataset dataset = (RDFDataset) toRDF(input, opts);
  
          return new JsonLdApi(options).normalize(dataset);
      }
docs: Performs RDF dataset normalization on the given JSON-LD input. The output
  is an RDF dataset unless the 'format' option is used.
  
  @param input
  the JSON-LD input to normalize.
  @param options
  the options to use: [base] the base IRI to use. [format] the
  format if output is a string: 'application/nquads' for
  N-Quads. [loadContext(url, callback(err, url, result))] the
  context loader.
  @return The JSON-LD object
  @throws JsonLdError
  If there is an error normalizing the dataset.