Added assertions to guard some unimplemented control paths.
Implemented a trivial JSON-LD serializer.

See: http://www.w3.org/TR/json-ld/
See: http://www.w3.org/TR/json-ld-api/
Fixed a minor edge-case bug in the TriX parser.