feat(writer): serialize xsi:type

Related to bpmn-io/bpmn-moddle#3
chore(reader): mini minification fix
fix(writer): do not output space around value property