fix xml output, convert to markdown for now