Added feature to export game objects to XML