comment out source commands (running the whole job in a different place).  Change toJSON call to use a named list.