Add support for JSON::XS version 3

For added future robustness, skip modules we manage to load but don't
know how to handle.