NXP-13878 allow to modify a document without specifying its id
NXP-13878 if uid is present in json payload, fetch the document from repo