Have a look at
Test::Deep::NoTest. I'd start there.
JSON::XS is one of the fastest, if not the fastest serializer in Perl. Look for the
$json->canonical([$enable]) method in the documentation.
To
really experiment with your data structures, go with
Data::Dump::Streamer.