NXP-13587: refactor: store readonly state on internal SQLDocument only, not each property
NXP-13587: allow version write in some cases