Macro with a list.

Maybe a dumb question, but lets say i have a marker wih its data field set to {mobs: ["zombie", "skeleton"], type: "default"}. If i have a function ran with the data macros of the entity and i want to get the first entry from the mobs array, and then the second entry, how would i do that?
Continue to help post