document string|array as array