I need to convert a js object to another object for passing onto a server post where the names of the keys differ for example
var a = { name : \"Foo\",
this ES2015/2017 version