Fix typos in serialization code.
Clean up entities API.
Introduce basic entities API v2.
Support for frontend authorisation checks.
Very simple dataset view.