Use response.text if response.json is None

Signed-off-by: Zack Cerza <zack.cerza@inktank.com>