or download this
my $req = HTTP::Request->new(GET => $uri);
my $res = $ua->request($req);
...
my $decoded_json = decode_json( $json_text );
my $result = $decoded_json->{'def'}{'tr'}{'text'};#Here I was suppos
+ing to get the first "text" value = tempo
}