made a little progress learning sqlalchemy a bit and parsing through the xml nodes