refactor tests - json support for start/restart/stop/delete #154