Introduce JSON-only content getter.
Switch Entity.by_id method signature to not require dataset.
Refactor entities controller for JSON-only operation.