I need to change keys with values in an array of objects
var myArray = [ {\'a\' : {\'x\': [\'Bob\', \'Rob\', \'Mike\'], \'y\': [4,5,6], \'name\