request and response in json; crud operations