code: function replaceProperty(name, value) {
    if (typeof name !== 'string' || value == null) {
      throw new Error('properties.replace() takes a string name and a value');
    }
    return replace('/properties/node("'+name+'")',  value);
  }
docs: Specifies a different value for a property in a document's metadata.
  @method patchBuilderProperties#replace
  @since 1.0
  @param {string} name - the name of the existing metadata property
  @param value - the modified value of the metadata property
  @returns {patchBuilder.PatchOperation} a patch operation