RESTful JSON API server