Added namespace declaration and indentation to the output