Added null check for response content as string: CC-13