Perl 5.18 randomized dict keys compatibility
Add a workaround for a non-understood perl 5.18 feature