How to parse API data? String appearing as a list

Basically, there are 3 entries under meta_data: 0, 1, and 2.

api-line-item-metadata-5

Under 0, the display_value is a list. Under 2, display_value is a string.

Bubble’s API Connector identifies display_value as a list because it’s the first value it encounters (depth first search?)

I’m wondering if there’s some way to get around this restriction. Thanks for the help so far, format as text seemed like what I was looking for but it still looks for list items that don’t exist.

I’m thinking I may need something more robust like a specific javascript call.

EDIT: I might repost with a clearer title/description now that I have a better idea what the issue is