(PDB-708) Migrate from old facts schema to new structure aware schema

This changes the structured-facts migration to move data from the previous
schema to the new.
(PDB-745) Structured facts GC.

This updates the garbage-collect! function to accomodate the new schema.
structured fact gc