parse generic enumerable
single and multiple values