Working on getting repository import to run smoothly
Add a safer formable function that doesn't yet crash if the source
JSON isn't valid. This is a stopgap while we make the main deserializers
more robust to real-life data inconsistencies.
Sync with changes on server side, renaming agent to repository and
authority/actor to historicalAgent.