export/hazard:

Made the `export_type` arg of `export` optional, defaulting to 'xml'.
This is so we cause so much disruption to users of this function,
namely QA test code.