Do not forget to serialise thumbnail_destination_file and thumbnail_options.