Moody’s downgrades South Africa