Moo;
use JSON;
use URI::Escape;
use REST::Client;
#use Data::Dumper;
use Carp;
use Log::Any;
use HTTP::Cache::Transparent;
#use JSON::MultiValueOrdered;
#use YAML;
use JSON::Path;
u
oi('10.1088/0004-637X/722/2/971');
print Dumper($data), "\n"; #$data is a hash ref of the json data converted to perl
#unfold the data to something like
# field1/subfield1/subfield2
to => 'dokpe@unifr.ch',
spit_raw_data => 0,
add_end_flag => 1,
json_path => [
['$.author[*]'],
['$.title'],
['$.container