Middleware for serving JSON Well-Known resources