//********************************
// Third generate a JSONObject object containts JSONArray
JSONArray coursesListJSONArray = JSONArray.fromObject(coursesMapList);
JSONObject respondJSONObject = new JSONObject();
respondJSONObject.element("recommendedCoursesList", coursesListJSONArray);
try {
/* TODO output your page here. You may use following sample code. */
// out.println("<!DOCTYPE html>");
// out.println("<html>");