refactor to not require fastapi_utils

16 jobs for 820_nomad_federation_api_fastutils in 82 minutes and 54 seconds (queued for 2 seconds)