I think ``var_export`` might be cleaner here, probably needs a few regexes for the output though.