Removed arrayToUri. Better use jquery $.param