datastore: Adding metadata support for write ops.
storage: During writes, make metadata optional.