Modified a lot of output to produce appropriate XML strings (mostly in Series.py)