Convert string params to array