function refactorObj_1(objectRocks){
let new_astroids_array = []
for (let each = 0; each < objectRocks.length; each++){
let newRow = {}
newRow.name = objectRocks[each].name
newRow.size = objectRocks[each]['estimated_diameter']['kilometers']['estimated_diameter_max']
newRow.x = objectRocks[each]['close_approach_data'][0]['relative_velocity']['kilometers_per_second']
newRow.y = objectRocks[each]['close_approach_data'][0]['miss_distance']['lunar']
new_astroids_array.push(newRow)
}
return new_astroids_array
}