group all layer contents in svg output, add numbers to ps output