amend requestBody to display as json value and requestBody from generic class T