move joining workspace to a method.  Write persistent json to disk.  Parse it correctly too.