adds response.json() middleware
update desc