// Iterate thorugh the array
[].forEach.call(x, function(inst, i){
// Iterate through all the keys
[].forEach.call(Object.keys(inst), function(y){
// Check if string is Numerical string
if(!isNaN(x[i][y]))
//Convert to numerical value
x[i][y] = +x[i][y];
});
});
console.log(x);