Frage im Vorstellungsgespräch bei Elastic

Flattening a Nested javascript object to an array structure.