Update of the RDF/JSON conversion re @context

The texts were not following the exact structure of the document (@base
is part of @context!). Also, the full @context section has to be added
to the JSON output to make the output valid as JSON-LD (if that is the
intention)