create lists for keys to be formatted and loop over it