refactor to not require fastapi_utils

17 jobs for 820_nomad_federation_api_fastutils in 69 minutes and 55 seconds (queued for 2 seconds)