Add response code to the result collection or model