Given a JS string
let string = \'language.0.name\'
how can I convert the string to formData key notation so I can go
\'languag