Return response object in endpoint.whoami instead of response.json object