Implement the root endpoint.

I've added this because we don't need this route for all formats, but you are right - it should be restricted per json format.