XML is written for all objects in the saveLayer

components still need to be implemented