my @kursdaten = map { my $time = $_->{'time'}; map { [ $time, $_->{'currency'}, $_->{'rate'}, ] } @{ $_->{'Cube'} } } @{ $data->{'Cube'}->{'Cube'} };