error handling of REST have been modified (if we are able to process the request, then the HTTP response is always 200, and if error occured it is included into the response)