/**
  * @param $json
  */
 private function getMedia($json)
 {
     if (property_exists($json, "type")) {
         if ($this instanceof Movie) {
             $this->type = Type::movie();
             return $json->movie;
         }
         if ($this instanceof Show) {
             $this->type = Type::show();
             return $json->show;
         }
         if ($this instanceof Person) {
             $this->type = Type::person();
             return $json->person;
         }
     }
     return $this->json;
 }