allow creating mapping directly from document
replace deprecated method for writing XML doc
make xml builder namespace-aware
fix indentation in output