patch RestClient request to be able to read payload multiple times
clean RestClient patches