How to convert object to list

The only way I seem to be able to get data from firebase realtime database is by using get single record request. But it returns the array as an object and will not allow me to use a repeater list to display them. How do I convert an object to a list?

Data returns like this:

{
“-N7mmyUn828Ty9Pgp4hZ”: {
“date”: 1658709600165,
“paid”: true
},
“-N7nHdrBG7d5bHeNw0mA”: {
“date”: 1658717904266,
“paid”: true
},
“-N7nIyxGS3d1bSp6n6Xn”: {
“date”: 1658718252888,
“paid”: true
},
“-N7nJbXZy1mA0mUhgYfs”: {
“date”: 1658718419115,
“paid”: true
},
“-N7nKBxtkq0h3POfUUjW”: {
“date”: 1658718572416,
“paid”: true
},
“-N7nLPGjW-D9_Zu1szfi”: {
“date”: 1658718889078,
“paid”: true
},
“-N7nQtMccKjBfc1-tOiw”: {
“date”: 1658720327073,
“paid”: true
},
“-N7nhsMCwo5ZhuxBRJTn”: {
“date”: 1658725041557,
“paid”: true
},
“-N7ptPW9Mn6N_xRALE3J”: {
“date”: 1658761619460,
“paid”: true
},
“-N7rPPZgjE89mjHJzRJ5”: {
“date”: 1658787047509,
“paid”: true
},
“-N7rQJxRek9mQshv5pRM”: {
“date”: 1658787288046,
“paid”: true
},
“-N7rRDIKbMdWFsPCFVO_”: {
“date”: 1658787522918,
“paid”: true
},
“-N7rW1Vc_onXbAQUIaz8”: {
“date”: 1658788784091,
“paid”: true
},
“-N7rf7EIifCl3OC19yCG”: {
“date”: 1658791428998,
“paid”: true
},
“-N7rgLb5gubUOz3Az5Za”: {
“date”: 1658791750091,
“paid”: true
},
“-N7rhVybCeBhAq6I1GYd”: {
“date”: 1658792054699,
“paid”: true
},
“-N7rjhhx9l_DgxrCUfHc”: {
“date”: 1658792631170,
“paid”: true
},
“-N7rkdoA-HY__ABL6taA”: {
“date”: 1658792877328,
“paid”: true
},
“-N7rmhpQ5LFp7TNtNHiw”: {
“date”: 1658793418080,
“paid”: true
},
“-N7rn6JXQ3h–gtu9IzR”: {
“date”: 1658793522470,
“paid”: true
},
“-N7rnl9Ew0KGayoP6N5I”: {
“date”: 1658793693844,
“paid”: true
},
“-N7stdbWV4F4IedaOctl”: {
“date”: 1658812012847,
“paid”: true
}
}

I created a pageVariable as a list of objects with id, date, and paid. I want to bring the above data into the page variable list exactly like it is, but it will not let me use WITH_ITEM because the data is an object???

If you don’t need to have the long attribute name for each item in the list, you can use the VALUES function to transform the object into a list of the values.

VALUES(pageVars.myobject)

If you need the long attribute, you can do something like this, that creates a list of objects, each attribute in the original object becomes an object in the list. You could rearrange it anyway you need.

MAP(KEYS(pageVars.myobject),{item: LOOKUP(pageVars.myobject,item)})

I will give it a shot. Thank you. Yes I need the unique key of each item.

Just to give the example that I did. The original (object of attributes, with value of each attribute an object):

{"item1":{"name":"Dan","paid":false},"item2":{"name":"Joe","paid":true}} 

The result (a list of objects, each object one attribute, a different object for each attribute in the original):

[{"item":{"name":"Dan","paid":false}},{"item":{"name":"Joe","paid":true}}]