Bug 6814: Fix (de)serialization of anyxml in JSON