Added namespace prefix to the recursive objects when converting to XML