Restful web service with json