Complete XML writer implementation.
Fix ObjectInputStream logic.
Merge pull request #61 from pferraro/master

Complete XML writer implementation.