Update ObjectToXml.php

Some intendations added