Adding xml output
Merge pull request #1 from adslaton/mass-api

Adding xml output