make an exception for HTTP 422 and cosider it as non-error response
return response along with data
prevent empty attributes from being sent to server