Convert gdbm to use serialized data

GDBM no longer stores the entire struct (with missing value for pointers)
in its database, rather it serializes the data first, and converts them
on the fly for set and get value, so the process is entirely transparent.

Signed-off-by: Michael Ikey Doherty <michael.i.doherty@intel.com>