add format_main_ssim and genre_ssim fields; improve format field code and tests