Adaptation to the new JSON-LD API.
Issue was mentioned in gh-152