Improved JSON API documentation