before it collapses into exactly the kind of buddy cop comedy 
(ROOT (ADVP (IN before) (NP (PRP it)) (VP (VBZ collapses) (PP (IN into) (NP (NP (RB exactly) (DT the) (NN kind)) (PP (IN of) (NP (NML (NN buddy) (NN cop)) (NN comedy))))))))
(ROOT (ADVP (IN ) (NP (PRP )) (VP (VBZ ) (PP (IN ) (NP (NP (RB ) (DT ) (NN )) (PP (IN ) (NP (NML (NN ) (NN )) (NN ))))))))