Apparently we don't need Jackson as an explicit dependency.
Fixes and better tests for the command line:

 - moved graph diff utilities to base test class
 - added a test for saving/loading the graph as JSON
 - various cmd line test fixes and cleanups