Switching to the built-in json module, with a fallback to the external one