Manual:$wgAPIFormatModules

Details
Allows for adding additional modules for the "format" API parameter. Associative array mapping module name to class name or factory (see  for exact syntax). Extension modules may override the core modules.