New /api/resource.json endpoint to fetch only one resource.