add swagger annotations and JSON response type