Provide json-based dump/restore of core data structure

This adds options to the overall running module to allow it to
dump and/or restore JSON versions of the core data structure.
That should allow me to add RunSnakeRun support to visualize the
captured data.