Seth Rogen will play a time-traveling Jewish pickle maker in upcoming movie