convert keywords into array.