Use JSON::XS instead of Data::Dumper

Faster and as compact as Dumper