If server returned a malformed json response, GetAPISpec panics Signed-off-by: bryanl <bryanliles@gmail.com>