Add json formatting to request body

if it exists
render the formatted request body