added persistence for JokeGenerator