bugfix add:spec task.

request parameters is basic array variables.
cast to string when convert to task options.
add spec for cli request component.