task/10011

 - readded protected attributes to schema
 - it falls to dml implementers to ensure that protected attributes are
   removed when transforming a document to json