building the collapsed job results model