This line should move up to 48, so the callback is registered before the `json.load` call happens and needs it.