rewrite format ; unify WriteObject/Sequence