fixed attribute parsing for arrays and objects with multiple values (commas)