Thanks Rob, works now! There is only a minor issue. Repeated elements are on same line and separated by comma. It would be nicer if they would be on separate lines as before. Anyway, current solution is also ok for me :)