Description
There is two large logic is coupled in PostProcess.toSimpleVertexArrJson.
1. build edges from Seq[QueryRequestWithResult] with their score value.
2. group by and order by is processed after 1 is done.
It would be better to seperate these two logical step into two methods.