match recojets starting from genjets, unify MiniAOD and RECO code