Generate flat but total key list to prepare regular expressions on keys.