As I've written elsewhere today, the LoadExtensionSchemaUpdates hook is really fragile and the way its executed in the web installer is counter to the way most hooks work. For most extensions, we should be able to replace it with static data. See https://www.mediawiki.org/wiki/User:Legoktm/LoadExtensionSchemaUpdates for the current proposals.
Each row would correspond to a line in addExtensionUpdate syntax, and ExtensionProcessor will do path expansion. We'll need to add some syntax in for addPostDatabaseUpdateMaintenance as well. Once the abstract schema system is in place, the JSON changes would go under the abstract key rather than an individual rdbms.