removing response code and response message attributes from sample element