how to remove empty values from an array?

Hello,

After lots of joining, merge and unmerge operations I end up withl a file (in attachment) containing several array properties. They seem to contain lots of blank or empty values in the arrays, which makes reading and exporting quite uncomfortable. Would you know how to remove them (without doing it property by property)?

Thank you very much in advance for your help!