Add function and route for listing observations

The route returns all observations as a JSON array.