Use request.json() to retrieve the json output instead of calling the json module