Put in json stuff and cleanup