instantiate properties on single XML tags
instantiate single XML tags
add unit tests for empty single tags
fix serialization of non-integer flag enums