Remove ghetto xml parsing and use Django's template engine instead