- apparently XContentBuilder doesn't override both equals and hashCode.