Migrate from JSONCodecFactory.getShared()