You don't have to burn the yard with fire.,...there are some natural remedies..Now of course this will kill the grass, but it should grow back.
1. Every day or at most every week remove feces from the outdoor area where it accumulates. Place feces in a bag and throw out in the trash or flush in a toilet.
2. For hookworm larvae removal, metal or concrete surfaces will have to be decontaminated with bleach or ammonia. Use a a 1% bleach solution (sodium hypochlorite). This approach will cause the larvae to shed their protective sheath and become subject to dehydration and other environmental factors. Flaming surfaces also kills the larvae.
3. Soil or gravel should kill larvae by using heat or sodium borate (at 10 lbs/100 sq ft) to kill larvae. Note that any plants that come in contact with the sodium borate will be killed as well.
According to the University of Florida effective treatments for the control of hookworm include: the use of salt brine (1.5 lb common salt per gallon of water, applied at 1 pt per sq ft) or borax, for bare ground, gravel or concrete. There is no known product for both effective for control of infective hookworm larvae on/in living turf or other plants and safe for plants.
Sources
Managing Hookworms in the Landscape
Robert A. Dunn and Ellis C. Greiner
Hope this is helpful