Ecwid Order export using RestAPI , PHP, CURL, JSON

If the value is an array you could use a bracket character to separate each key/value pair. That would work so long as none of the keys or values contain a bracket for the root key.

Another approach would be to allocate multiple columns for the multi vale keys. For example it seems reasonable that product options might have no more than 10 values. So you could designate 20 virtual columns to potentially spread that data across.