Import just json; it's more likely to have _speedups/_json and has been available since Python 2.6