A JSON-based service framework