(PDB-708) Structured fact storage

This series of commits turns on structured fact storage, but keeps backwards compatibility for now.
Its adding escapes to the delimeter when found, and adding additional escapes if an already escaped version of the delimiter is found.