Ok, I see what the serialization does there.

If `method` is explicitly set to `xml` though, it should not be stored with `method="xhtml"` as it currently does.

Also, it would be nice to have access to the `encoding`, `version` and `standalone` options on p:store with `method="xhtml"` as well.