added a new function that will recrusively change keys with "-" to "_"