Fixed XML output for api/v1