Xml output for odsm

Alternative approach for #14. This uses the simfony serializer instead