Supporting operations for custom storage-engine
NOTE: There is a code repetition between this and metadata because both are basically operations on a key-value table. Creating a task to unify this as a follow-up.
NOTE: D7121 is not landed yet, and even so, my local environment is the only place where this code was executed so adding this without migration.
Depends on D7182