setting default format to xml