(PDB-708) More changes to make new fact schema work

Signed-off-by: Ken Barber <ken@bob.sh>
(PDB-708) various testing fixes

Signed-off-by: Ken Barber <ken@bob.sh>
added v4 api endpoint for factsets