Found unmapped fields during JSON-LD normalization

Hi @dekts,

JSONLD normalization is a process where the document is parsed against a context definition.
It’s being thrown here: https://github.com/blockchain-certificates/cert-verifier-js/blob/master/src/inspectors/computeLocalHash.js#L88

Basically what this is telling you is that you are using fields that are not defined by the @context key of your certificate.
You could try and define the keys that you are adding in your document in the same fashion as what Learning Machine does:

"@context": [
    "https://w3id.org/openbadges/v2",
    "https://w3id.org/blockcerts/v2",
    {
      "metadataJson": {
        "@id": "https://schemas.learningmachine.com/2017/blockcerts/metadata",
        "@type": "https://schemas.learningmachine.com/2017/types/text/json"
      },
      "displayHtml": {
        "@id": "https://schemas.learningmachine.com/2017/blockcerts/displayHtml",
        "@type": "https://schemas.learningmachine.com/2017/types/text/html"
      },
      "nonce": {
        "@id": "https://schemas.learningmachine.com/2017/blockcerts/nonce",
        "@type": "https://schema.org/Text"
      },
      "universalIdentifier": {
        "@id": "https://schemas.learningmachine.com/2017/blockcerts/identifier",
        "@type": "https://schema.org/Text"
      }
    }
  
]

I believe this should fix the issue for you