Fixed output when response is empty and content type is json