add lots of serialization attributes
implement one more undocumented feature
hard work on XML representation