i'm getting data like below and i want to get the data like `names= app,app1,app2` without looping .how can i achieve this one without looping?

```
(
        {
        date = "12/12/12";
        name = app;
    },
        {
        date = "11/02/12";
        name = app1;
    },
        {
        date = "14/05/12";
        name = app2;
    }
)

```