Adding / Removing Selected Checkbox and Radios to Array of Object

Adding / Removing Selected Checkbox and Radios to Array of Object

Can you please take a look at   This Demo and let me know how I can store the selected checkbox  and it's associated data (radios)in array of objects like this:

  1.     var yourSelection = {
  2.     commedy: [
  3.                  {
  4.                   movieName: "",
  5.                   bestPart: "",
  6.                   overall: ""
  7.                  }
  8.                  ....
  9.                  {
  10.                   movieName: "",
  11.                   bestPart: "",
  12.                   overall: """
  13.                  }
  14.     
  15.     ],
  16.     
  17.     horros: [
  18.                  {
  19.                   movieName: "",
  20.                   bestPart: "",
  21.                   overall: ""
  22.                  },
  23.                  ....
  24.                  {
  25.                   movieName: "",
  26.                   bestPart: "",
  27.                   overall: "
  28.                  }
  29.     
  30.     ],
  31.     actions: [
  32.                  {
  33.                   movieName: "",
  34.                   bestPart: "",
  35.                   overall: ""
  36.                  },
  37.                  ....
  38.                  {
  39.                   movieName: "",
  40.                   bestPart: "",
  41.                   overall: "
  42.                  }
  43.     
  44.     ]