i have this:
    var keys = ['foo', 'bar', 'baz'];
    var values = [11, 22, 33]
    var result = {};
    keys.forEach((key, i) => result[key] = values[i]);
    console.log(result);
which is the right way to push the keys ans the values back to separated arrays from json result?
    result = {"foo:11,"bar":22,"baz":33}
    keys = ['foo', 'bar', 'baz'];
    values = [11, 22, 33]
 
    