Compact context when necessary and leave contexts in URL form.
Compact context when necessary and leave contexts in URL form.

- compact the @context array if it contains a single element
- fix a bug which omitted the context if provided in a URL form

piprate/json-gold