convert arguments to array
handle quoted arguments