Add helper jsonld encode/decode functions.