Utilities for writing input files.
Generate a dictionary with fields to replace in the template.
dict