a working refactoring of a CorTeX Spawner
 moving json back into the core CorTeX repo, deleting here