Override env['api.format'] to return arbitrary types.