Re-add functions to store and retrieve values for calibrating the total number of people and the total structural value

We need functionality to insert, update, and retrieve metadata key-value pairs in our Metadata table. This has already been added in the v24.07 and should be similarly implemented. See issue #119 (closed).

\fyi @all