Only write containers if hash code has changed.
Merge branch 'hashcode-childrefwriter' into stage