Made Duration serialization XML duration like.