Add docs and fix link to JSON-API