Generalized the category scoring aggregation job to build the pipeline dynamically and Added rankings to json return in request to /results.json