Dumper: Fixed closures handling