revisions – Can I tell the WordPress revison viewer show arrays?

I’m having multiple arrays saved into post meta fields. I can save them into revisions. But unfortunately the revision viewer shows me an error when trying to show the meta field data:

Warning: trim() expects parameter 1 to be string, array given in /wp-includes/formatting.php on line 5276

Is there a way to help the viewer to show the array like with “var_dump” or with “print_r”?