swap associative arrays for array pairs for bash 3..2