Major rewrite of genFireParams for use with NFDB.