Make sure uri output contains json output when a non-200 status is returned
Make sure uri output contains json output when a non-200 status is returned

Prior to the switch to the urls.py code, non-200 responses contained
a 'json' value when the content-type was JSON. This fix restores that
field upon a non-2xx response.

Fixes ansible/ansible#15555

thaim/ansible,thaim/ansible