Don't rely on builder.build to build a document revision

Don't rely on builder.build to build a document revision and then
call mutableCopy, instead create a mutable directly