Generate JSON based documents for Spring RESTful endpoints