if entire response is nil, do not serialize body