code: def build_health_endpoint(
          version_dict: Mapping[str, str])\
          -> Callable[[web.Request],
                      Coroutine[None, None, web.Response]]:
      
      async def health(request: web.Request) -> web.Response:
          return web.json_response(
              {
                  'name': request.app[DEVICE_NAME_VARNAME],
                  'updateServerVersion': version_dict.get(
                      'update_server_version', 'unknown'),
                  'serialNumber': get_serial(),
                  'apiServerVersion': version_dict.get(
                      'opentrons_api_version', 'unknown'),
                  'smoothieVersion': 'unimplemented',
                  'systemVersion': version_dict.get(
                      'buildroot_version', 'unknown'),
                  'capabilities': {'buildroot-update': '/server/update/begin',
                                   'restart': '/server/restart'}
              },
              headers={'Access-Control-Allow-Origin': '*'}
          )
      return health
docs: Build a coroutine to serve /health that captures version info