Create map_as_array.js

could also use 

function keysAndValues(data){
  var keys = Object.keys(data);
  return [keys, keys.map(function(key) { return data[key]; })];
}