use Data::Dumper instead of JSON for testing