my %data = map { $_ => scalar @{[ param( $_ ) ]} == 1 ? param( $_ ) : [ param( $_ ) ] } param;