fix pretty serialization w/o xmldecl